package com.foreknow.demo07;

import java.util.Scanner;

public class UserTest {
    public static void main(String[] args) {
        UserManager manager = new UserManager();
        //增加用户
        User[] userInfoArray = manager.addUser();
        //查询用户信息
        manager.selectUser(userInfoArray);
        //更新用户信息
        manager.updateUser(userInfoArray);
        //查询所有用户信息
        manager.selectAllInfo(userInfoArray);
    }
}
